<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!doctype html>
<html>
<head>
<base href="<%=basePath%>">

<title>任务反馈页</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
<script type="text/javascript"
	src="<%=path%>/resources/script/proms/task/task_feedback_tabs.js"></script>

</head>
<body>
	<div id="tabs" style="width: 100%;">
		<div title="任务反馈">
			<table id="dg"></table>
			<!-- toolbar -->
			<div id="tb" style="padding: 5px; height: auto;">
				<!-- opreate -->
				<div style="margin-bottom: 5px; text-align: right;">
					<a href="javascript:void(0);" id="detail" class="easyui-linkbutton"
						title="查看" iconCls="icon-detail" plain="true">查看</a> <a
						href="javascript:void(0);" id="add" class="easyui-linkbutton"
						title="添加" iconCls="icon-add" plain="true">添加</a> <a
						href="javascript:void(0);" id="edit" class="easyui-linkbutton"
						title="修改" iconCls="icon-edit" plain="true">修改</a>
					<!-- <a href="javascript:void(0);" id="audit" class="easyui-linkbutton" title="审核" iconCls="icon-edit" plain="true">审核</a> -->
					<a href="javascript:void(0);" id="remove" class="easyui-linkbutton"
						title="删除" iconCls="icon-remove" plain="true">删除</a>
				</div>
			</div>
		</div>
		<div title="计划列表">
			<div class="easyui-layout" fit="true">
				<table id="dg_task_plan">
				</table>
			</div>
		</div>
		<div title="任务详情">
			<div class="easyui-layout" fit="true">
				<div data-options="region:'center', title:'任务详情'">
					<input id="id" name="id" type="hidden" value="${task.id }" /> <input
						id="type" name="type" type="hidden" value="${type }" />
					<%-- <input id="isAudit" type="hidden" value="${isAudit }" /> --%>
					<input id="fundSources" name="fundSources" type="hidden"
						value="${task.fundSources }" /> <input id="isTaskPlan"
						name="isTaskPlan" type="hidden" value="${isTaskPlan }" />
					<table class="edit-table">
						<tr>
							<th>所属指标：</th>
							<td colspan="7"><input type="hidden" id="projectIndexId"
								name="projectIndexId" value="${task.projectIndexId }" /> <label>${task.projectIndexName }</label>
							</td>
						</tr>
						<tr>
							<th>任务主题：</th>
							<td><label>${task.name }</label></td>
						</tr>
						<tr>
							<th>计划完成时间段：</th>
							<td colspan="7"><label>${task.startTime }</label>～<label>${task.endTime }</label></td>
						</tr>
						<tr>
							<th>资金来源</th>
							<td><label id="fundsources_label"></label></td>
							<th>计划使用资金：</th>
							<td><label>￥${task.planAmount }</label> <input type="hidden"
								id="planAmount" name="planAmount" value="${task.planAmount }" />
							</td>
							<th>实际使用资金</th>
							<td><label id="factAmount_label"></label><input
								type="hidden" id="factAmount" value="${task.factAmount }" /></td>
							<th>任务进度</th>
							<td><label id="progress_label"></label><input type="hidden"
								id="progress" value="${task.progress }" /></td>
						</tr>
						<tr>
							<th>相关参与人:</th>
							<td colspan="7">${task.taskActorNames }</td>
						</tr>
						<tr>
							<th>任务描述:</th>
							<td colspan="7"><textarea id="remark" name="remark"
									readonly="readonly" disabled="disabled"
									style="width: 98%; height: 80px;">${task.remark }</textarea></td>
						</tr>
						<tr>
							<th>预佐证材料:</th>
							<td colspan="7"><div id="_fileupload"></div></td>
						</tr>
					</table>
				</div>
			</div>
		</div>
	</div>
	<div id="win" class="easyui-window"
						data-options="modal:true,
		    	 				closed:true,
		    	 				maximizable:true,
		    	 				minimizable:false,
		    	 				collapsible:false,
		    	 				iconCls:'icon-save',
		    	 				draggable:false">
						<iframe id="contentFrame" src="" width=100% height=99%
							marginwidth=0 framespacing=0 marginheight=0 frameborder=no
							scrolling=no></iframe>
					</div>
</body>
<script type="text/javascript">
	$(function() {
		$('#tabs').tabs({
			fit : true,
			border : false,
		});
	});
</script>
</html>

